<script language="javascript">
	function back(){
		document.location="<?php echo site_url("master_jurusan"); ?>";
	}
</script>
<?php
echo form_open("/master_jurusan/form_jurusan/" . $parameter, array("name"=>"form_jurusan","id"=>"medic_form"));
if($parameter == FALSE){
	// $program= set_value("nama_program");
	$jurusan= set_value("nama_jurusan");
} else {
	// $program	= $value["ID_PROGRAM"];
	$jurusan	= $value["NAMA_JURUSAN"];
}
?>

<p>
	<label>Nama Jurusan</label>
	<input type="text" name="nama_jurusan" value="<?php echo $jurusan; ?>">
	<?php echo form_error("nama_jurusan"); ?>
</p>
<!--<p>
	<label>Program Pendidikan</label>
	<select name="nama_program">
		<option value="">-- Pilih Program Pendidikan --</option>
		<?/* php
		foreach($qprogram as $row){
		?>
		<option value="<?php echo $row["ID_PROGRAM"]; ?>" <?php echo ($program == $row["ID_PROGRAM"]) ? ("selected") : (""); ?>><?php echo $row["NAMA_PROGRAM"]; ?></option>
		<?php
		}
		?>
	</select>
	<?php echo form_error("nama_program");  */?>
</p>-->
<p>
	<input type="submit" class="btn btn-primary" id="submit" value="Simpan">
	<input type="reset" class="btn btn-primary" id="submit" value="Reset">
	<input type="button" class="btn btn-primary" id="submit" value="Kembali" onClick="back()">
</p>
<?php echo form_close(); ?>